From: Gunnar Hjalmarsson Date: Sat, 23 Jul 2022 15:21:24 +0000 (+0200) Subject: debian/rules: Enable LTO X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~48 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=139b06420924ec52134681098f7154d21ba08e32;p=opencc.git debian/rules: Enable LTO --- diff --git a/debian/changelog b/debian/changelog index 659c03c..5c1899e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +opencc (1.1.4+ds1-2) UNRELEASED; urgency=medium + + * Start fixing FTBFS with LTO enabled (see bug 1015565): + - debian/rules: Enable LTO + + -- Gunnar Hjalmarsson Sat, 23 Jul 2022 17:13:10 +0200 + opencc (1.1.4+ds1-1) unstable; urgency=medium [ xiao sheng wen ] diff --git a/debian/rules b/debian/rules index 2fef24c..949892e 100755 --- a/debian/rules +++ b/debian/rules @@ -4,7 +4,7 @@ # export DH_VERBOSE=1 # see FEATURE AREAS in dpkg-buildflags(1) -export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto include /usr/share/dpkg/architecture.mk